﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace lianxi1
{
    public partial class index : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            if (this.TextBox1.Text=="admin")
            {
                Response.Write("<script>alert('不允许使用管理员账号请重新注册');window.location.href='login.aspx'</script>");
            }
            else
            {
                Response.Redirect("shouye.aspx");
            }
        }
    }
}